package com.wanbing.factory.abstractfactory;

public class AbstractFactoryTest {
    public static void main(String[] args) {
        IAbstractFactory javaFactory = new JavaProgrammerFactory();
        javaFactory.createJob().doWork();
        javaFactory.createAddress();

        IAbstractFactory avFactory = new AvActorFactory();
        avFactory.createJob().doWork();
        avFactory.createAddress();
    }
}
